<!DOCTYPE html>
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
-->
<html>
    <head>
        
        <meta charset="utf-8" />
        <meta name="format-detection" content="telephone=no" />
        <meta name="msapplication-tap-highlight" content="no" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="mobile-web-app-capable" content="yes">

        <link rel="stylesheet" type="text/css" href="css/index.css" />

        <!-- Top Coat -->
        <link rel="stylesheet" type="text/css" href="css/topcoat.css" />
        <!-- Icono -->
        <link rel="stylesheet" type="text/css" href="font-awesome-4.2.0/css/font-awesome.css" />

         <!-- Skeleton -->
        <!-- Mobile Specific Metas
        ================================================== -->
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

        <!-- CSS
        ================================================== -->
        <link rel="stylesheet" href="skeleton/stylesheets/base.css">
        <link rel="stylesheet" href="skeleton/stylesheets/skeleton.css">
        <link rel="stylesheet" href="skeleton/stylesheets/layout.css">

        <!-- Favicons
        ================================================== -->
        <link rel="shortcut icon" href="skeleton/images/favicon.ico">
        <link rel="apple-touch-icon" href="skeleton/images/apple-touch-icon.png">
        <link rel="apple-touch-icon" sizes="72x72" href="skeleton/images/apple-touch-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="114x114" href="skeleton/images/apple-touch-icon-114x114.png">

        <!-- Includes the necessary CSS and Javascript libraries for full customization Reproductor Radio-->
        <link rel="stylesheet" type="text/css" href="reproductor/css/SSUhtml5audio.css"/>

        <title>Ministerios Shalom</title>
    </head>
    <body>
        <!-- Primary Page Layout
        ================================================== -->

        <!-- Delete everything in this .container and get started on your own site! -->        
        <div class="container full_alto">
            <table class="table_struct full_alto">
                <tbody>
                    <tr class="struct_table_header">
                        <td>
                            <div class="sixteen columns header">
                                <table width="100%" height="100%">
                                    <tbody>
                                        <tr>
                                            <td onclick="menuAction(1);" width="20%" class="center menuIcon"><i class="fa fa-bars"></i></td>
                                            <td onclick="menuAction(1);" width="60%" class="center">Ministerios Shalom</td>
                                            <td width="20%" class="center">data</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr class="struct_table_container" onclick="menuAction(0);">
                        <td>                      
                            <div id="container" class="sixteen columns container_dinamic fondo_container" style="height: 100%;"></div>
                        </td>
                    </tr>
                    <tr>
                        <td  class="struct_table_footer"  onclick="menuAction(0);">
                              <div id="reproductorShalom" class="contentReproductorShalom">
                                <!--<audio class="reproductor" width="300" height="32" src="http://radioshalomfm.servehttp.com/live" controls="controls" autoplay="autoplay" preload=""></audio>-->
                                <!--<audio id="song" ontimeupdate="updateTime()">
                                    <source src="http://radioshalomfm.servehttp.com/live" type="audio/mp3"/>
                                  Your browser does not support the audio tag.
                                </audio>-->
                                <table width="100%" class="tableRadio">
                                    <tbody>
                                        <tr>
                                            <td style="width: 100%;">
                                                <div id="songSlider" onclick="setSongPosition(this,event)"><div id="trackProgress"></div></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100%; padding-top: 5px; height: 80px;"> 
                                                <div class="center">
                                                    <table>
                                                        <tr>
                                                            <td width="33.3%" onclick="stopSong()">
                                                                <i  id="songStop" class="fa fa-stop buttonStop"></i>
                                                            </td>
                                                            <td width="33.3%" align="center">
                                                                <div class="circuloPlay">
                                                                    <i id="songPlay" onclick="procesarRadio(1);" class="fa fa-play buttonPlay"></i>
                                                                    <i id="songPause" onclick="procesarRadio(2);" class="fa fa-pause buttonPause"></i>
                                                                </div>
                                                            </td>
                                                            <td width="33.3%">
                                                                <div id="songTime" class="conteo">0:00</div>
                                                            </td>
                                                        </tr>
                                                    </table>                                                    
                                                </div>
                                                
                                                <!--<div onclick="stopSong()" class="buttonsVolOff"><i class="fa fa-volume-off"></i></div>-->
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100%;">  
                                                <table>
                                                    <tbody>
                                                        <tr>
                                                            <td onclick="changeVolume(10, 'down')" class="volumenRadio">
                                                                <i class="fa fa-volume-down"></i>
                                                            </td>
                                                            <td class="barraVolumen">
                                                                <div id="songTime">
                                                                    <div id="volumeMeter" onclick="setNewVolume(this,event)">
                                                                        <div id="volumeStatus"></div>
                                                                    </div>
                                                                </div>
                                                            </td>
                                                            <td onclick="changeVolume(10, 'up')" class="volumenRadio"> 
                                                                <i class="fa fa-volume-up"></i>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table> 
                                                <!--<div id="controlRadio" class="controlsRadio">
                                                    <div>                                                        
                                                        <i class="fa fa-caret-square-o-left"></i>
                                                    </div>
                                                </div>-->
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div> 
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- container -->  
        <div id="Menu" class="menu">
            <table width="100%">
                <tbody>
                    <tr>
                        <td height="26px">
                            <div class="menuTitle">                                
                                Menu
                            </div>
                            <div class="closeIcon" onclick="menuAction(0);">
                                <i class="fa fa-reply"></i>
                            </div>
                        </td>
                    </tr>
                    <tr class="heightMenu">                        
                        <td><div  onclick="inicio();" class="widhtDivMenu"><i class="fa fa-home"></i> Inicio</div></td>
                    </tr>
                    <tr class="heightMenu">                        
                        <td><div onclick="radio();" class="widhtDivMenu"><i class="fa fa-headphones"></i> Radio</div></td>
                    </tr>
                    <tr class="heightMenu">                        
                        <td><div onclick="television();" class="widhtDivMenu"><i class="fa fa-desktop"></i> Television</div></td>
                    </tr>
                    <tr class="heightMenu">                        
                        <td><div onclick="noticias();" class="widhtDivMenu"><i class="fa fa-rss"></i> Noticias</div></td>
                    </tr>
                    <tr class="heightMenu">                        
                        <td><div onclick="predicas();" class="widhtDivMenu"><i class="fa fa-book"></i> Predicas</div></td>
                    </tr>
                </tbody>
            </table>
        </div>
        
        <script type="text/javascript" src="cordova.js"></script>
        <!-- Busqueda -->
        <script type="text/javascript" src="js/search.js"></script>
        <!-- Click -->
        <script type="text/javascript" src="js/fastclick.min.js"></script>
        <script type="text/javascript" src="js/index.js"></script>

        <script type="text/javascript" src="reproductor/js/SSUhtml5Audio.js"></script>
        <script type="text/javascript">
            app.initialize();
        </script>

        <script> 
           //window.onload = iniciarApp;
        </script>
    </body>
</html>
